import org.jsecurity.SecurityUtils
import rowingmanager.domain.User

class UserService {
    boolean transactional = false;
    def getAuthenticatedUser(){
      return User.findByEmail(SecurityUtils.subject.principal)
    }


}
